﻿<UserControl x:Class="StockholmsStad.Windows.UI.Modules.Maintenance.Views.TabItemStatisticsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <GroupBox Header="Statistik" Width="250" Margin="0,10,5,5" Padding="5,10,5,5" HorizontalAlignment="Left" VerticalAlignment="Top">
        
        <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

            <TextBlock Text="Välj utskriftsalternativ:" Grid.Row="0" Margin="10, 0, 0, 10" />

            <StackPanel Orientation="Vertical" Grid.Row="1" Margin="10">
                <RadioButton x:Name="RadioButtonCouplesPerPeriod" Content="Antal par/period eller detaljerad" 
                             Margin="10, 0, 0, 10" GroupName="PrintCommands" IsChecked="True" />
                <RadioButton x:Name="RadioButtonTicketsPerMinister" Content="Antal ärenden per förrättare" 
                             Margin="10, 0, 0, 10" GroupName="PrintCommands" />
                <RadioButton x:Name="RadioButtonCancelledBookings" Content="Antal ärenden som avbokats" 
                             Margin="10, 0, 0, 10" GroupName="PrintCommands" />
                <RadioButton x:Name="RadioButtonAbsentCouples" Content="Antal personer som inte dykt upp" 
                             Margin="10, 0, 0, 0" GroupName="PrintCommands" />
            </StackPanel>

            <StackPanel Orientation="Horizontal" Grid.Row="2" FlowDirection="RightToLeft" Margin="10">
                <Button x:Name="btnPrint" Content="Skriv ut" Margin="0, 0, 0, 0" Click="btnPrint_Click" />
            </StackPanel>
    </Grid>

    </GroupBox>


</UserControl>
